//
//  EmploymentDetThreeCell.m
//  CenturyCity
//
//  Created by beisheng03 on 2017/12/27.
//  Copyright © 2017年 beisheng. All rights reserved.
//

#import "EmploymentDetThreeCell.h"
@interface EmploymentDetThreeCell ()
@property (weak, nonatomic) IBOutlet UILabel *topLabel;

@property (weak, nonatomic) IBOutlet UILabel *bottomLabel;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *bottomMargin;

@end
@implementation EmploymentDetThreeCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.contentView.backgroundColor = [UIColor whiteColor];
    
    self.bottomMargin.constant = 0;
    
    self.topLabel.font = MYFONT(16);
    
    self.bottomLabel.font = MYFONT(14);
    
    self.bottomLabel.textColor = darkGray;
    
}


- (void)setModel:(EmploymentListModel *)model{
    _model = model;
    
    
    self.topLabel.text = _model.supplier_name;
    
    self.bottomLabel.text = [NSString stringWithFormat:@"地址: %@",_model.address];
    
    
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
